Skip to content

Make LambdaEqualityHelper.Equals symmetric#332

Merged
nulltoken merged 1 commit into
libgit2:vNextfrom
sharwell:symmetric-equals
Feb 12, 2013
Merged

Make LambdaEqualityHelper.Equals symmetric#332
nulltoken merged 1 commit into
libgit2:vNextfrom
sharwell:symmetric-equals

Conversation

@sharwell

Copy link
Copy Markdown
Contributor

The current implementation violates the symmetric requirement of IEqualityComparer.Equals in the case where exactly one of the inputs is null.

@nulltoken
nulltoken merged commit 9d5e4e9 into libgit2:vNext Feb 12, 2013
@nulltoken

Copy link
Copy Markdown
Member

Thanks!

@sharwell
sharwell deleted the symmetric-equals branch February 12, 2013 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants